package com.shyroke.daydayzhuanapi.dto;

import com.shyroke.daydayzhuanapi.enumerated.InviteImgTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class InviteImgAdminDto {
    private Integer id;
    @NotBlank(message = "url不能为空")
    private String url;
    private String description;
    @NotNull(message = "图片类型不能为空")
    private InviteImgTypeEnum imgType;
}
